﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using ZhonTai.Admin.Core.Entities;

namespace ZhonTai.Admin.Domain.Patrol
{
    /// <summary>
    /// 任务节点
    /// </summary>
    [Table(Name = "patrol_tasknode")]
    public class PatrolTaskNodeEntity : EntityBase
    {
        public long TaskId { set; get; }

        public long TaskConfigId { set; get; }

        /// <summary>
        /// 过程Id
        /// </summary>
        public long TaskProcessId { set; get; }

        public long UserId { set; get; }

        public double Lon { set; get; }


        public double Lat { set; get; }

        /// <summary>
        /// 表单Id
        /// </summary>
        public long FormId { set; get; }

        /// <summary>
        /// 表单名称
        /// </summary>
        public string FormName { set; get; }

        /// <summary>
        /// 发现时间
        /// </summary>
        public DateTime FindTime { set; get; }

        /// <summary>
        /// 上报时间
        /// </summary>
        public DateTime CreatedTime { set; get; }


        #region 导航属性
        /// <summary>
        /// 多媒体
        /// </summary>
        public ICollection<object> Medias { set; get; }
        #endregion
    }
}
